{if $errors}
	{foreach from=$errors item=message key=error}
		{if $error eq 'INVOICE_IS_NOT_VERIFIED'}
			<p class="error">[[Invoice is not verified]]</p>
		{elseif $error eq 'INVALID_INVOICE_ID'}
			<p class="error">[[Invalid invoice ID is specified]]</p>
		{/if}
	{/foreach}
{else}
	<div style="padding: 20px 0;">[[You have successfully purchased the product(s) below]]:</div>
	{foreach from=$products item=product name=products_block}
		<div style="padding: 3px 0;">{$smarty.foreach.products_block.iteration}. [[{$product.name}]]</div>
	{/foreach}
	<div style="padding: 20px 0;">[[Thank you for the purchase.Now you can manage your products from My Products section of our website]]: <a href="{$GLOBALS.site_url}/my-products/">{$GLOBALS.site_url}/my-products/</a></div>
{/if}